package com.t.bricks.bussiness.db.entity.examination.base;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.t.bricks.annotation.DataInfo;

/**
 * 考题'Examination'表实体类
 * 警告:非数据库字段禁止在此添加,应该创建扩展实体中添加
 * @author HuangXinBian
 * @DateTime 2021年12月13日 16:12:08
 */
@ApiModel("考题Examination")
@DataInfo(sDbName="BricksAppraise", sTableName="Examination")
public class ExaminationBase implements Serializable {

	private static final long serialVersionUID = 1L;// 使用rmi时需修改

	/**
	 * 记录编号
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="Examination",
		sName="sId", sComment="记录编号", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=true, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=0 )
	@ApiModelProperty(value="记录编号", example="")
	//[end]
	protected String sId;

	/**
	 * 考题父编号
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="Examination",
		sName="sPid", sComment="考题父编号", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=20, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=1 )
	@ApiModelProperty(value="考题父编号", example="")
	//[end]
	protected String sPid;

	/**
	 * 知识点分类编号(关联表,KnowledgeType.sId)
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="Examination",
		sName="sKnowledgeTypeId", sComment="知识点分类编号(关联表,KnowledgeType.sId)", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=90, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=2 )
	@ApiModelProperty(value="知识点分类编号(关联表,KnowledgeType.sId)", example="")
	//[end]
	protected String sKnowledgeTypeId;

	/**
	 * 考题类型(关联表,ExaminationClass.iType)
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="Examination",
		sName="iType", sComment="考题类型(关联表,ExaminationClass.iType)", isDbField=true, sDbFileType="int",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=1, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=3 )
	@ApiModelProperty(value="考题类型(关联表,ExaminationClass.iType)", example="")
	//[end]
	protected Integer iType;

	/**
	 * 难度分类(枚举,1:普通;2:难;3:困难)
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="Examination",
		sName="iDifficulty", sComment="难度分类(枚举,1:普通;2:难;3:困难)", isDbField=true, sDbFileType="int",
		sDefaultData="1", isExtra=false, iskey=false, isNull=false,
		iMaxLength=1, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=4 )
	@ApiModelProperty(value="难度分类(枚举,1:普通;2:难;3:困难)", example="1")
	//[end]
	protected Integer iDifficulty;

	/**
	 * 标题
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="Examination",
		sName="sTitle", sComment="标题", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=50, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=5 )
	@ApiModelProperty(value="标题", example="")
	//[end]
	protected String sTitle;

	/**
	 * 问题
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="Examination",
		sName="sQuestions", sComment="问题", isDbField=true, sDbFileType="longtext",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=100, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=6 )
	@ApiModelProperty(value="问题", example="")
	//[end]
	protected String sQuestions;

	/**
	 * 自测可见(布尔值,1:允许;2:不允许)
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="Examination",
		sName="iVisible", sComment="自测可见(布尔值,1:允许;2:不允许)", isDbField=true, sDbFileType="int",
		sDefaultData="1", isExtra=false, iskey=false, isNull=false,
		iMaxLength=2, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=7 )
	@ApiModelProperty(value="自测可见(布尔值,1:允许;2:不允许)", example="1")
	//[end]
	protected Integer iVisible;

	/**
	 * 考题所属(枚举,1:考卷用;2:自测用;3:通用)
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="Examination",
		sName="iBelong", sComment="考题所属(枚举,1:考卷用;2:自测用;3:通用)", isDbField=true, sDbFileType="int",
		sDefaultData="1", isExtra=false, iskey=false, isNull=true,
		iMaxLength=2, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=8 )
	@ApiModelProperty(value="考题所属(枚举,1:考卷用;2:自测用;3:通用)", example="1")
	//[end]
	protected Integer iBelong;

	/**
	 * 备注
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="Examination",
		sName="sMemo", sComment="备注", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=true,
		iMaxLength=200, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=9 )
	@ApiModelProperty(value="备注", example="")
	//[end]
	protected String sMemo;

	/**
	 * 创建者
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="Examination",
		sName="sCreator", sComment="创建者", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=10 )
	@ApiModelProperty(value="创建者", example="")
	//[end]
	protected String sCreator;

	/**
	 * 创建时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")//解决表单提交时字符串时间值错误
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="Examination",
		sName="dCreateDate", sComment="创建时间", isDbField=true, sDbFileType="datetime",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=23, isDecimal=false, iIntegralLength=-1, iDecimalLength=-1, iIndex=11 )
	@ApiModelProperty(value="创建时间", example="")
	//[end]
	protected Date dCreateDate;

	/**
	 * 修改人
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="Examination",
		sName="sModifieder", sComment="修改人", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=12 )
	@ApiModelProperty(value="修改人", example="")
	//[end]
	protected String sModifieder;

	/**
	 * 修改时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")//解决表单提交时字符串时间值错误
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="Examination",
		sName="dModifiedDate", sComment="修改时间", isDbField=true, sDbFileType="datetime",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=23, isDecimal=false, iIntegralLength=-1, iDecimalLength=-1, iIndex=13 )
	@ApiModelProperty(value="修改时间", example="")
	//[end]
	protected Date dModifiedDate;

	/**
	 * 状态
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="Examination",
		sName="iState", sComment="状态", isDbField=true, sDbFileType="int",
		sDefaultData="1", isExtra=false, iskey=false, isNull=false,
		iMaxLength=1, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=14 )
	@ApiModelProperty(value="状态", example="1")
	//[end]
	protected Integer iState;

	/**
	 * 序号
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="Examination",
		sName="iIndex", sComment="序号", isDbField=true, sDbFileType="int",
		sDefaultData="1", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=15 )
	@ApiModelProperty(value="序号", example="1")
	//[end]
	protected Integer iIndex;

	/**
	 * 版本号
	 */
	//[start]
	@DataInfo( sDbName="BricksAppraise", sTableName="Examination",
		sName="iVersion", sComment="版本号", isDbField=true, sDbFileType="int",
		sDefaultData="1", isExtra=false, iskey=false, isNull=false,
		iMaxLength=8, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=16 )
	@ApiModelProperty(value="版本号", example="1")
	//[end]
	protected Integer iVersion;

	/**
	 * 取 记录编号
	 * @return String
	 */
	public String getsId() {
		return sId;
	}

	/**
	 * 设置记录编号
	 * @param sId
	 */
	public void setsId(String sId) {
		this.sId = sId;
	}

	/**
	 * 取 考题父编号
	 * @return String
	 */
	public String getsPid() {
		return sPid;
	}

	/**
	 * 设置考题父编号
	 * @param sPid
	 */
	public void setsPid(String sPid) {
		this.sPid = sPid;
	}

	/**
	 * 取 知识点分类编号(关联表,KnowledgeType.sId)
	 * @return String
	 */
	public String getsKnowledgeTypeId() {
		return sKnowledgeTypeId;
	}

	/**
	 * 设置知识点分类编号(关联表,KnowledgeType.sId)
	 * @param sKnowledgeTypeId
	 */
	public void setsKnowledgeTypeId(String sKnowledgeTypeId) {
		this.sKnowledgeTypeId = sKnowledgeTypeId;
	}

	/**
	 * 取 考题类型(关联表,ExaminationClass.iType)
	 * @return Integer
	 */
	public Integer getiType() {
		return iType;
	}

	/**
	 * 设置考题类型(关联表,ExaminationClass.iType)
	 * @param iType
	 */
	public void setiType(Integer iType) {
		this.iType = iType;
	}

	/**
	 * 取 难度分类(枚举,1:普通;2:难;3:困难)
	 * @return Integer
	 */
	public Integer getiDifficulty() {
		return iDifficulty;
	}

	/**
	 * 设置难度分类(枚举,1:普通;2:难;3:困难)
	 * @param iDifficulty
	 */
	public void setiDifficulty(Integer iDifficulty) {
		this.iDifficulty = iDifficulty;
	}

	/**
	 * 取 标题
	 * @return String
	 */
	public String getsTitle() {
		return sTitle;
	}

	/**
	 * 设置标题
	 * @param sTitle
	 */
	public void setsTitle(String sTitle) {
		this.sTitle = sTitle;
	}

	/**
	 * 取 问题
	 * @return String
	 */
	public String getsQuestions() {
		return sQuestions;
	}

	/**
	 * 设置问题
	 * @param sQuestions
	 */
	public void setsQuestions(String sQuestions) {
		this.sQuestions = sQuestions;
	}

	/**
	 * 取 自测可见(布尔值,1:允许;2:不允许)
	 * @return Integer
	 */
	public Integer getiVisible() {
		return iVisible;
	}

	/**
	 * 设置自测可见(布尔值,1:允许;2:不允许)
	 * @param iVisible
	 */
	public void setiVisible(Integer iVisible) {
		this.iVisible = iVisible;
	}

	/**
	 * 取 考题所属(枚举,1:考卷用;2:自测用;3:通用)
	 * @return Integer
	 */
	public Integer getiBelong() {
		return iBelong;
	}

	/**
	 * 设置考题所属(枚举,1:考卷用;2:自测用;3:通用)
	 * @param iBelong
	 */
	public void setiBelong(Integer iBelong) {
		this.iBelong = iBelong;
	}

	/**
	 * 取 备注
	 * @return String
	 */
	public String getsMemo() {
		return sMemo;
	}

	/**
	 * 设置备注
	 * @param sMemo
	 */
	public void setsMemo(String sMemo) {
		this.sMemo = sMemo;
	}

	/**
	 * 取 创建者
	 * @return String
	 */
	public String getsCreator() {
		return sCreator;
	}

	/**
	 * 设置创建者
	 * @param sCreator
	 */
	public void setsCreator(String sCreator) {
		this.sCreator = sCreator;
	}

	/**
	 * 取 创建时间
	 * @return Date
	 */
	public Date getdCreateDate() {
		return dCreateDate;
	}

	/**
	 * 设置创建时间
	 * @param dCreateDate
	 */
	public void setdCreateDate(Date dCreateDate) {
		this.dCreateDate = dCreateDate;
	}

	/**
	 * 取 修改人
	 * @return String
	 */
	public String getsModifieder() {
		return sModifieder;
	}

	/**
	 * 设置修改人
	 * @param sModifieder
	 */
	public void setsModifieder(String sModifieder) {
		this.sModifieder = sModifieder;
	}

	/**
	 * 取 修改时间
	 * @return Date
	 */
	public Date getdModifiedDate() {
		return dModifiedDate;
	}

	/**
	 * 设置修改时间
	 * @param dModifiedDate
	 */
	public void setdModifiedDate(Date dModifiedDate) {
		this.dModifiedDate = dModifiedDate;
	}

	/**
	 * 取 状态
	 * @return Integer
	 */
	public Integer getiState() {
		return iState;
	}

	/**
	 * 设置状态
	 * @param iState
	 */
	public void setiState(Integer iState) {
		this.iState = iState;
	}

	/**
	 * 取 序号
	 * @return Integer
	 */
	public Integer getiIndex() {
		return iIndex;
	}

	/**
	 * 设置序号
	 * @param iIndex
	 */
	public void setiIndex(Integer iIndex) {
		this.iIndex = iIndex;
	}

	/**
	 * 取 版本号
	 * @return Integer
	 */
	public Integer getiVersion() {
		return iVersion;
	}

	/**
	 * 设置版本号
	 * @param iVersion
	 */
	public void setiVersion(Integer iVersion) {
		this.iVersion = iVersion;
	}

}
